Class symantec.itools.db.beans.brl.derivation.number.MultiplicationFunction
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class symantec.itools.db.beans.brl.derivation.number.MultiplicationFunction

Object
   |
   +----symantec.itools.db.beans.brl.derivation.number.MultiplicationFunction

public class MultiplicationFunction
extends Object
implements Calculation
Business rule function which returns a new value by multiplying the columns in the row

Version:
1.0 06/18/98
Author:
Puru Balakrishnan

Variable Index

 o NAME

Constructor Index

 o symantec.itools.db.beans.brl.derivation.number.MultiplicationFunction()

Method Index

 o getComputedValue(DerivationRow, int)

return the computed value from the passed in input Row.

 o getDisplayString()
Method to return a String which would be used for displaying method information to the user Example: For a class which calculates the sum of three columns using a description like "sum( ?,?,? )" would be appropriate.
 o isUsedForAggregate()
Method to determine if this can be used for aggregate calculations

Variables

 o NAME
public static final java.lang.String NAME

Constructors

 o MultiplicationFunction
public MultiplicationFunction()

Methods

 o getComputedValue
public java.lang.Object getComputedValue(DerivationRow inputRow,
                                         int outputDataType)

return the computed value from the passed in input Row. The first parameter ,ComputeRow, is a grouping of columns which are to be used for calculating the new derived value. These columns could represent constant as well as real database columns.

Parameters:
inputRow - row of input columns
outputDataType - datatype for desired output as in java.sql.Types
Returns:
Object representing the new computed value
See Also:
ComputeRow, CompColMember
 o getDisplayString
public java.lang.String getDisplayString()
Method to return a String which would be used for displaying method information to the user Example: For a class which calculates the sum of three columns using a description like "sum( ?,?,? )" would be appropriate.

Returns:
String
 o isUsedForAggregate
public boolean isUsedForAggregate()
Method to determine if this can be used for aggregate calculations

Returns:
true or false

All Packages  Class Hierarchy  This Package  Previous  Next  Index